/**
 * @Description:没有登录
 * @author tao.xie
 * @date $
 */

import React, { Component } from 'react'
import {
  StyleSheet,
  Button,
  View
} from 'react-native'
import NavigationService from '../../../../src/utils/NavigationService'

export default class NotLoginModule extends Component {
  render () {
    return (
      <View style={styles.container}>
        <Button title={'登录'} onPress={()=>{NavigationService.navigate('Login', { backtoroot: true })}}/>
      </View>
    )
  }
}

const styles = StyleSheet.create({
  container: {
    flex: 1
  }
})